﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _06ConverterBinToHex
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Enter nuber in binary:");
            string bin = Console.ReadLine();
            string value = Convert.ToString(Convert.ToInt32(bin, 2), 16); ;
            Console.Write("The number in hex is:" + value);
            Console.WriteLine();
        }
    }
}
